import request from '@/utils/request'

// 新增反馈
export function evaluation(data) {
  return request({
    url: '/archive/evaluation',
    method: 'post',
    data: data
  })
}

// 获取数据
export function evaluationList(query) {
  return request({
    url: '/archive/evaluation/list',
    method: 'GET',
    params: query
  })
}

//查看详情
export function evaluationinfo(ID) {
  return request({
    url: '/archive/evaluation/'+ID,
    method: 'GET',
  })
}

export function getArchiveBorrowByBorrowId(borrowId) {
  return request({
    url: '/archive/evaluation/archiveBorrow/' + borrowId,
    method: 'get'
  })
}
